package com.runa.rccprotocol.dto.param;

/**
 * 输出开度限值ly
 */
public class OutOpeningLimit extends Param {
    private byte outOpeningUpLimit;
    private byte OutOpeningDownLimit;

    public byte getOutOpeningUpLimit() {
        return outOpeningUpLimit;
    }

    public void setOutOpeningUpLimit(byte outOpeningUpLimit) {
      /*  if(outOpeningUpLimit < 0){
            outOpeningUpLimit = 0;
        }else if(outOpeningUpLimit > 100){
            outOpeningUpLimit = 100;
        }*/
        this.outOpeningUpLimit = outOpeningUpLimit;
    }

    public byte getGetOutOpeningDownLimit() {
        return OutOpeningDownLimit;
    }

    public void setGetOutOpeningDownLimit(byte OutOpeningDownLimit) {
       /* if(OutOpeningDownLimit < 0){
            OutOpeningDownLimit = 0;
        }else if (OutOpeningDownLimit >100){
            OutOpeningDownLimit = 100;
        }*/
        this.OutOpeningDownLimit = OutOpeningDownLimit;
    }
}
